<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US" xml:lang="en">
<head>
    
    <?php require('./core.inc.php'); ?>

    <!--
    Nuovo Tema, versione 23.4.12
    -->
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title><?php echo $conf['titolo']; ?></title>
    <link rel="shortcut icon" href="./favicon.ico" />
    <link rel="stylesheet" href="style.css" type="text/css" media="screen" />
    <!--[if IE 6]><link rel="stylesheet" href="style.ie6.css" type="text/css" media="screen" /><![endif]-->
    <!--[if IE 7]><link rel="stylesheet" href="style.ie7.css" type="text/css" media="screen" /><![endif]-->

    <script type="text/javascript" src="jquery.js"></script>
    <script type="text/javascript" src="script.js"></script>
</head>
<body>
<div id="art-page-background-glare">
        <div id="art-page-background-glare-image">
    <div id="art-main">
        <div class="art-sheet">
            <div class="art-sheet-tl"></div>
            <div class="art-sheet-tr"></div>
            <div class="art-sheet-bl"></div>
            <div class="art-sheet-br"></div>
            <div class="art-sheet-tc"></div>
            <div class="art-sheet-bc"></div>
            <div class="art-sheet-cl"></div>
            <div class="art-sheet-cr"></div>
            <div class="art-sheet-cc"></div>
            <div class="art-sheet-body">
                <div class="art-header">
                    <div class="art-header-center">
                        <div class="art-header-jpeg"></div>
                    </div>
                    
                </div>
                <div class="art-nav">
                	<div class="l"></div>
                	<div class="r"></div>
                	<ul class="art-menu">
                                <li>
                			<a href="../"><span class="l"></span><span class="r"></span><span class="t">« Torna al sito</span></a>
                		</li>
                		<li>
                			<a href="./dash" class="active"><span class="l"></span><span class="r"></span><span class="t">Dashboard</span></a>
                		</li>
                		<li>
                			<a href="#"><span class="l"></span><span class="r"></span><span class="t">Servizi provinciale</span></a>
                			<ul>
                				<li><a href="./servizi">Elenco servizi</a></li>
                				<li><a href="./mioStorico">Il mio storico</a></li>
                			</ul>
                		</li>	
                          
                                <li>
                			<a href="#"><span class="l"></span><span class="r"></span><span class="t">Volontario</span></a>
                			<ul>
                				<li><a href="./mAnagrafica">Anagrafica</a></li>
                                                <li><a href="./mContatti">Contatti</a></li>
                				<li><a href="./mCompetenze">Competenze</a></li>
                                                <li><a href="./mQualifiche">Qualifiche</a></li>
                			</ul>
                		</li>		
                            
                                <?php if ( identificato() ) { ?>
                                    <li>
                                            <a href="#"><span class="l"></span><span class="r"></span><span class="t"><strong><?php $me->stampa(); ?></strong></span></a>
                                            <ul>
                                                    <li><a href="./mPassword">Modifica password</a></li>
                                                    <li><a href="./logout">Logout</a></li>
                                            </ul>
                                    </li>	
                                <?php } else { ?>
                                    <li>
                                            <a href="./login"><span class="l"></span><span class="r"></span><span class="t"> Login »</span></a>
                                    </li>
                                <?php } ?>
                	</ul>
                </div>
                <div class="art-content-layout">
                    <div class="art-content-layout-row">
                        <div class="art-layout-cell art-sidebar1">
                          <div class="art-vmenublock">
                              <div class="art-vmenublock-tl"></div>
                              <div class="art-vmenublock-tr"></div>
                              <div class="art-vmenublock-bl"></div>
                              <div class="art-vmenublock-br"></div>
                              <div class="art-vmenublock-tc"></div>
                              <div class="art-vmenublock-bc"></div>
                              <div class="art-vmenublock-cl"></div>
                              <div class="art-vmenublock-cr"></div>
                              <div class="art-vmenublock-cc"></div>
                              
                          </div>
               
                          <div class="art-block">
                              <div class="art-block-body">
                                          <div class="art-blockheader">
                                              <h3 class="t">Azioni principali</h3>
                                          </div>
                                          <div class="art-blockcontent">
                                              <div class="art-blockcontent-body">
                                                          <div>
                                                            <ul>
                                                                <li><a href="../">(Torna al sito)</a></li>
                                                                <li><a href="dash"><strong>Dashboard</strong></a></li>
                                                                <li><a href="servizi">Lista servizi</a></li>
                                                                <li><a href="mStorico">Storico</a></li>
                                                                <?php if ( identificato() ) { ?>
                                                                    <li><a href="logout">Logout</a></li>
                                                                <?php } else { ?>
                                                                    <li><a href="login"><strong>Login</strong></a></li>
                                                                <?php } ?>
                                                            </ul>
                                                          </div>
                                          
                                          		<div class="cleared"></div>
                                              </div>
                                          </div>
                          		<div class="cleared"></div>
                              </div>
                          </div>
                          
                          <div class="cleared"></div>
                        </div>
                        <div class="art-layout-cell art-content">
                           <div class="art-postcontent">
                           <?php

                            // Formula il percorso della pagina
                            if (empty($_GET['p'])) {
                                    $p = 'dash';
                            } else {
                                    $p = $_GET['p'];
                            }
                            $file = './inc/' . $p . '.php';

                            // Se il file non esiste...
                            if ( !file_exists($file) ) {
                                    // Carica la pagina di errore
                                    $file = './inc/errore404.php';
                            }

                            // Carica la pagina
                            include($file);


                            ?> 
                           </div>
                          <div class="cleared"></div>
                        </div>
                    </div>
                </div>
                <div class="cleared"></div>
                <div class="art-footer">
                    <div class="art-footer-t"></div>
                    <div class="art-footer-body">
                         <a href="../rss.php" class="art-rss-tag-icon" title="RSS"></a>
                        <div class="art-footer-text">
                            <p><a href="#">Link 1</a> | <a href="#">Link 2</a> | <a href="#">Link 3</a></p><p> &copy; <?php echo date('Y'); ?> CROCE ROSSA ITALIANA &mdash; <strong>Comitato Provinciale di Catania</strong>. Tutti i diritti riservati.</p>
                        </div>
                		<div class="cleared"></div>
                    </div>
                </div>
        		<div class="cleared"></div>
            </div>
        </div>
        <div class="cleared"></div>
        <p class="art-page-footer"><a href="./info">Informazioni</a> su licenza e contributori.</p>
    </div>
        </div>
    </div>
    
    
    
    
    
</body>
</html>
